package com.zatech.cgnci.project.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

/**
 * <p>
 * 临分摊赔账单信息
 * </p>
 *
 * @author Generator
 * @since 2024-12-30
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("cgnci_proportional_liability_invoice")
@ApiModel(value = "CgnciProportionalLiabilityInvoiceDO对象", description = "临分摊赔账单信息")
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class CgnciProportionalLiabilityInvoiceDO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("自增编号")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("保单号")
    private String policyNumber;

    @ApiModelProperty("合约类型")
    private String contractType;

    @ApiModelProperty("再保分出人")
    private String cedingCompany;

    @ApiModelProperty("再保接收人")
    private String receiver;

    @ApiModelProperty("项目名称")
    private String projectName;

    @ApiModelProperty("再保经纪人")
    private String reinsuranceBroker;

    @ApiModelProperty("赔案名称")
    private String claimName;

    @ApiModelProperty("赔案id")
    private String claimId;

    @ApiModelProperty("保险期限")
    private String policyTerm;

    @ApiModelProperty("保险起止描述")
    private String policyTermDesc;

    @ApiModelProperty("承保年度")
    private String policyYear;

    @ApiModelProperty("险种")
    private String policyType;

    @ApiModelProperty("险种名称")
    private String policyTypeName;

    @ApiModelProperty("账单编号")
    private String invoiceNumber;

    @ApiModelProperty("账单币种")
    private String currency;

    @ApiModelProperty("出险日期")
    private Date lossDate;

    @ApiModelProperty("出险原因")
    private String causeOfLoss;

    @ApiModelProperty("汇率")
    private BigDecimal fxRate;

    @ApiModelProperty("账单接收人")
    private String billRecipient;

    @ApiModelProperty("账单期")
    private String billingCycle;

    @ApiModelProperty("入账日期")
    private Date postingDate;

    @ApiModelProperty("应收付日期")
    private Date dueDate;

    @ApiModelProperty("实收付日期")
    private Date actualPaymentDate;

    @ApiModelProperty("收付方向")
    private String direction;

    @ApiModelProperty("总金额")
    private BigDecimal collectAmount;

    @ApiModelProperty("起保日期")
    private Date statDate;

    @ApiModelProperty("终保日期")
    private Date endDate;

    @ApiModelProperty("总计金额")
    private BigDecimal totalAmount;

    @ApiModelProperty("承接比例")
    private BigDecimal shareRatio;

    @ApiModelProperty("分出比例")
    private BigDecimal cededRatio;

    @ApiModelProperty("备注")
    private String remarks;

    @ApiModelProperty("直保被保险人")
    private String insuredInsurer;

    @ApiModelProperty("账单状态")
    private String status;

    @ApiModelProperty("UPM编号")
    private String upmNumber;

    @ApiModelProperty("删除标志位（0：未删除，1：已删除）")
    private String isDeleted;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("创建人")
    private String createUser;

    @ApiModelProperty("更新时间")
    private Date updateTime;

    @ApiModelProperty("更新人")
    private String updateUser;


}
